package com.woniu.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.user.model.Account;
import com.woniu.user.model.Sign;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.user.service.dto.AccountDto;
import com.woniu.user.service.dto.SignCoachDto;

/**
 * <p>
 * 签约表 服务类
 * </p>
 *
 * @author Silas
 * @since 2023-02-15
 */
public interface SignService extends IService<Sign> {

    IPage<Account> findMyStu(Integer userId, String condition, Integer current, Integer size);

    void delStu(Integer userId,Integer accountId);

    void build(Integer coachId, Integer userId);

    void dissmiss(Integer userId, Integer coachId);

    IPage<SignCoachDto> findMyCoach(Integer userId, String condition, Integer current, Integer size);

    IPage<SignCoachDto> getMyCoach(Page<Sign> pageInfo, Integer userId);

}
